home *** CD-ROM | disk | FTP | other *** search
- on(release){
- if(_root.score >= "4")
- {
- _root.gotoAndPlay("endgame");
- set("_root.reaction" add _root.level add "a","01");
- set("_root.reaction" add _root.level add "b","00");
- if(_root.score == "0")
- {
- _root.scoreboard.reaction1 = "3.0";
- }
- else if(_root.score == "1")
- {
- _root.scoreboard.reaction2 = "3.0";
- }
- else if(_root.score == "2")
- {
- _root.scoreboard.reaction3 = "3.0";
- }
- else if(_root.score == "3")
- {
- _root.scoreboard.reaction4 = "3.0";
- }
- else if(_root.score == "4")
- {
- _root.scoreboard.reaction5 = "3.0";
- }
- gotoAndPlay(1);
- }
- else
- {
- set("_root.reaction" add _root.level add "a","01");
- set("_root.reaction" add _root.level add "b","00");
- if(_root.score == "0")
- {
- _root.scoreboard.reaction1 = "3.0";
- }
- else if(_root.score == "1")
- {
- _root.scoreboard.reaction2 = "3.0";
- }
- else if(_root.score == "2")
- {
- _root.scoreboard.reaction3 = "3.0";
- }
- else if(_root.score == "3")
- {
- _root.scoreboard.reaction4 = "3.0";
- }
- else if(_root.score == "4")
- {
- _root.scoreboard.reaction5 = "3.0";
- }
- _root.score += 1;
- _root.level += 1;
- _root.engine.play(1);
- gotoAndPlay(1);
- }
- }
-